#pragma once
#include <string>
#include <map>
#include "config.h"
class Module
{
public:
	Module(std::string filename, uint64_t address, size_t size, std::map<std::string, SymbolResolved> symbols_resolved, void* init_array);
	~Module();

public:
	std::string filename;
	uint64_t address;
	size_t size;
	void* init_array;
	std::map<std::string, SymbolResolved> symbols;
	SymbolResolved* find_symbol(std::string name);

};

